home *** CD-ROM | disk | FTP | other *** search
Wrap
AMOS Source Code | 1992-09-03 | 1.2 KB | 38 lines
' rubbish y-scaler scroll by kyzer/csg 4/95 ' use joystick: left=move up, right=move down, up=shrink, down=grow Amos To Front Default Palette 0,0 ' A$="Scrolly scrolltexts, how do I love thee? Let me count the ways... one 1000! two 1000! three 1000! four 1000! says Roger Rabbit. How did he get into showbiz, and why did Jessica marry him?" L=Len(A$)-1 : V=Varptr(A$) : C=0 ' Screen Open 0,400,70,2,0 : Cls 0 : Double Buffer : Autoback 0 : Screen Hide 'Get Fonts : Set Font 4 B=Text Base Screen Open 1,320,256+70,2,0 : Cls 0 : Double Buffer : Autoback 0 Screen Display 1,,48,,256 : Fade 6,,$FF0 ' Extension_12_094C 127 Extension_12_0016 HGT=16 Repeat Screen 0 M$= Extension_18_0150(V+C,1) M=Text Length(M$) Text 320,B,M$ Add C,1,0 To L Screen 1 For A=0 To M Step 2 Screen Swap : Wait Vbl : Extension_12_03A6 1 Screen Copy Physic(0),2,0,400,70 To Logic(0),0,0 Screen Copy Logic(0),0,0,320,70 To Logic(1),0,256 Areg(0)=Logbase(0)+10240 : Areg(1)=Logbase(0) Add HGT,Jup(1)-Jdown(1) Add DST,Jleft(1)-Jright(1) Dreg(0)=70 : Dreg(1)=HGT : Dreg(2)=DST Call 8 Next A Until Extension_12_03B8 Extension_12_0006 Extension_12_094C 0 End